package org.example.org.service.impl;

import org.example.base.service.impl.BaseServiceImpl;
import org.example.org.domain.Employee;
import org.example.org.mapper.EmployeeMapper;
import org.example.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper mapper;

    @Override
    public Employee selectByName(String username) {
        return mapper.selectByName(username);
    }
}
